home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 23 / develop Issue 23 code / ProjectDrag 1.1b8 / Sources / ProjectDrag Sources / ProjectAlias.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-07  |  1.3 KB  |  33 lines  |  [TEXT/MPS ]

  1. /* ProjectAlias.h: ProjectorDB alias management routines for ProjectDrag
  2.  *
  3.  * A set of applets for drag and drop source control by Tim Maroney.
  4.  * See develop, issue 23 for details.
  5.  *
  6.  * Built on DropShell by Leonard Rosenthol, Stephan Somogyi, and Marshall Clow,
  7.  * and using the MoreFiles utilities by Jim Luther.
  8.  *
  9.  * This software is free, but don't modify and redistribute it without
  10.  * changing the status window to indicate your name and your changes!
  11.  */
  12.  
  13. #ifndef __PROJECTALIAS__
  14. #define __PROJECTALIAS__
  15.  
  16. #include <Types.h>
  17. #include <Aliases.h>
  18. #include <Files.h>
  19. #include <StandardFile.h>
  20.  
  21. #include "PDUtilities.h"
  22.  
  23. OSErr MakeProjectAlias(short vRefNum, long folderID, AliasHandle *aliasOut);
  24. OSErr FindProjectAliasFromCKID(CKIDHandle theCKID, AliasHandle *aliasOut, StringPtr projectName);
  25. OSErr FindProjectAliasFromFolder(short vRefNum, long folderID, AliasHandle *aliasOut, StringPtr projectName);
  26. OSErr MountProjectAlias(AliasHandle alias, CStringHandle *output, CStringHandle *diagnostic);
  27. Boolean SelectProjectorDB(FSSpec *file, short strListID, short strIndex,
  28.                             FileFilterYDProcPtr filter, void *dataPtr);
  29. OSErr AddNameMapping(StringPtr folderName, StringPtr projectName);
  30. void GetTopProjectName(StringPtr projectName, StringPtr topProjectName);
  31.  
  32. #endif
  33.